package com.recipe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recipe.entity.DishLiked;
import com.recipe.entity.vo.DishVo;

/**
 * (DishLiked)表服务接口
 *
 * @author makejava
 * @since 2024-06-18 09:24:27
 */
public interface DishLikedService extends IService<DishLiked> {

    void add(DishLiked dishLiked);

     Integer getLikedCount(long dishId);


    void synLiked();

    void deleteById(DishVo dishVo);

    Boolean isLiked(String dishId, String userId);
}

